﻿using System.Configuration;

namespace Sustainalytics.Portfolios.Tasks
{
    public static class HostConfig
    {
        public static string GetHostUrl()
        {
            string url = ConfigurationManager.AppSettings["portfolioUrl"];

            return url;
        }

        public static string GetReportResource()
        {
            string resource = ConfigurationManager.AppSettings["portfolioReportResourceUrl"];

            return resource;
        }

        public static string GetSecurityResource()
        {
            string resource = ConfigurationManager.AppSettings["portfolioSecurityUrl"];

            return resource;
        }

        public static string GetSaveSecurityResource()
        {
            string resource = ConfigurationManager.AppSettings["portfolioUploadSecurityUrl"];
            return resource;
        }

        public static string GetMatchedSecurityResource()
        {
            string resource = ConfigurationManager.AppSettings["portfolioMatchedSecurityUrl"];
            return resource;
        }
    }
}
